package com.jinmdz.fmis.api.api.model.user;

import com.fasterxml.jackson.annotation.JsonIgnore;
import com.jinmdz.fmis.dao.base.BaseItem;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * 业务系统主键
 *
 * @author LiCongLu
 * @date 2020-03-24 15:27
 */
@ApiModel(value = "业务系统主键", description = "业务系统主键")
public class AdminSystemViewItem extends BaseItem {

    /**
     * 主键
     */
    @ApiModelProperty(value = "主键", name = "id", position = 1)
    private Integer id;

    /**
     * 系统名称
     */
    @ApiModelProperty(value = "系统名称", name = "systemName", position = 2)
    private String systemName;

    /**
     * 系统编码
     */
    @ApiModelProperty(value = "系统编码", name = "systemCode", position = 3)
    private String systemCode;

    /**
     * 禁用状态
     */
    @ApiModelProperty(value = "禁用状态", name = "disableState", position = 4)
    private Integer disableState;

    /**
     * 排序
     */
    @ApiModelProperty(value = "排序", name = "sort", position = 5)
    private Integer sort;

    /**
     * 备注
     */
    @ApiModelProperty(value = "备注", name = "remark", position = 6)
    @JsonIgnore
    private String remark;

    /**
     * 数据版本号
     */
    @ApiModelProperty(value = "数据版本号", name = "version", position = 7)
    private Long version;

    @Override
    public Integer getId() {
        return id;
    }

    @Override
    public AdminSystemViewItem setId(Integer id) {
        this.id = id;
        return this;
    }

    public String getSystemName() {
        return systemName;
    }

    public AdminSystemViewItem setSystemName(String systemName) {
        this.systemName = systemName;
        return this;
    }

    public String getSystemCode() {
        return systemCode;
    }

    public AdminSystemViewItem setSystemCode(String systemCode) {
        this.systemCode = systemCode;
        return this;
    }

    public Integer getDisableState() {
        return disableState;
    }

    public AdminSystemViewItem setDisableState(Integer disableState) {
        this.disableState = disableState;
        return this;
    }

    public Integer getSort() {
        return sort;
    }

    public AdminSystemViewItem setSort(Integer sort) {
        this.sort = sort;
        return this;
    }

    public String getRemark() {
        return remark;
    }

    public AdminSystemViewItem setRemark(String remark) {
        this.remark = remark;
        return this;
    }

    @Override
    public Long getVersion() {
        return version;
    }

    @Override
    public AdminSystemViewItem setVersion(Long version) {
        this.version = version;
        return this;
    }
}
